﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BingMapsSample.Components
{
    public class Address
    {
        //------// Properties \\--------------------------------------------\\
        private string _address1 = String.Empty;
        public string Address1
        {
            get { return _address1; }
            set { _address1 = value; }
        }


        private string _address2 = String.Empty;
        public string Address2
        {
            get { return _address2; }
            set { _address2 = value; }
        }


        private string _city = String.Empty;
        public string City
        {
            get { return _city; }
            set { _city = value; }
        }


        private string _state = String.Empty;
        public string State
        {
            get { return _state; }
            set { _state = value; }
        }


        private string _zipCode = String.Empty;
        public string ZipCode
        {
            get { return _zipCode; }
            set { _zipCode = value; }
        }
        //------\\ Properties //--------------------------------------------//



        //------// Constructors \\------------------------------------------\\
        public Address()
        { }


        public Address(string address1, string city, string state, string zipCode)
        {
            Address1 = address1;
            City = city;
            State = state;
            ZipCode = zipCode;
        }


        public Address(string address1, string address2, string city, string state, string zipCode)
            : this(address1, city, state, zipCode)
        {
            Address2 = address2;
        }
        //------\\ Constructors //------------------------------------------//



        //------// Methods \\-----------------------------------------------\\

        //------\\ Methods //-----------------------------------------------//
    }
}
